
<div class="layui-form-item">
  <label class="layui-form-label">标题<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="title" id="info_title" class="layui-input modelform_title" value="{$r?$r['title']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">缩略图<span></span></label>
  <div class="layui-input-inline file-upload">
		<input type="text" name="thumb" id="info_thumb" value="{$r?$r['thumb']:''}" autocomplete="off" class="layui-input"/>
		<div class="layui-btn-group">
			<button type="button" class="layui-btn" onclick="previewImg('info_thumb')"><i class="layui-icon">&#xe64a;</i>预览</button>
			<button type="button" class="layui-btn fastupimg" data-input_id="info_thumb" data-listtype="img" id="info_thumb_Picker"><i class="layui-icon">&#xe608;</i>上传</button>
			<button type="button" class="layui-btn" onClick="selectfile('info_thumb','','img')"><i class="layui-icon">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">时间<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" autocomplete="off" name="newstime" id="info_newstime" value="<?=$r?date("Y-m-d H:i:s",$r['newstime']):date("Y-m-d H:i:s")?>" style=""  data-format="yyyy-MM-dd HH:mm:ss" class="layui-input form-date">
  </div>
</div>
<div class="layui-form-item">
  <label class="layui-form-label">标签1<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="biaoqian1" id="info_biaoqian1" class="layui-input modelform_biaoqian1" value="{$r?$r['biaoqian1']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">标签2<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="biaoqian2" id="info_biaoqian2" class="layui-input modelform_biaoqian2" value="{$r?$r['biaoqian2']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">数量<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="num" id="info_num" class="layui-input modelform_num" value="{$r?$r['num']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">项目规模<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="guimo" id="info_guimo" class="layui-input modelform_guimo" value="{$r?$r['guimo']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">项目占地<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="zhandi" id="info_zhandi" class="layui-input modelform_zhandi" value="{$r?$r['zhandi']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">建设内容<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="jianshe" id="info_jianshe" class="layui-input modelform_jianshe" value="{$r?$r['jianshe']:''}" style="" autocomplete="off">
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">描述<span></span></label>
  <div class="layui-input-inline">
        <div class="news_editor" editor_name="content" editor_width="100%" editor_height="500" imgwidth="1600" imgheight=""><script id="content" name="content" type="text/plain">{$r?htmlspecialchars_decode($r['content']):''}</script></div>
        远程图片保存本地<input type="checkbox" name="content_saveFile" lay-ignore value="1" checked> &nbsp;&nbsp;
        提取第一张图做为缩略图（如果缩略图为空的情况下）<input type="checkbox" lay-ignore  name="content_getFirstImg" value="1">   
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">详情图片<span></span></label>
  <div class="layui-input-inline file-upload">
		<input type="text" name="image" id="info_image" value="{$r?$r['image']:''}" autocomplete="off" class="layui-input"/>
		<div class="layui-btn-group">
			<button type="button" class="layui-btn" onclick="previewImg('info_image')"><i class="layui-icon">&#xe64a;</i>预览</button>
			<button type="button" class="layui-btn fastupimg" data-input_id="info_image" data-listtype="img" id="info_image_Picker"><i class="layui-icon">&#xe608;</i>上传</button>
			<button type="button" class="layui-btn" onClick="selectfile('info_image','','img')"><i class="layui-icon">&#xe67c;</i>浏览</button>
		</div>
  </div>
</div>	
<div class="layui-form-item">
  <label class="layui-form-label">地区<span></span></label>
  <div class="layui-input-inline">
	  <div class="layui-col-md12">
		<input type="radio"  name="area" value="Xinjiang" title="Xinjiang" {:$r['area']=='Xinjiang'?"checked":""} /></label><input type="radio"  name="area" value="Heilongjiang" title="Heilongjiang" {:$r['area']=='Heilongjiang'?"checked":""} /></label><input type="radio"  name="area" value="Jilin" title="Jilin" {:$r['area']=='Jilin'?"checked":""} /></label><input type="radio"  name="area" value="Liaoning" title="Liaoning" {:$r['area']=='Liaoning'?"checked":""} /></label><input type="radio"  name="area" value="Beijing" title="Beijing" {:$r['area']=='Beijing'?"checked":""} /></label><input type="radio"  name="area" value="Tianjin" title="Tianjin" {:$r['area']=='Tianjin'?"checked":""} /></label><input type="radio"  name="area" value="Hebei" title="Hebei" {:$r['area']=='Hebei'?"checked":""} /></label><input type="radio"  name="area" value="Shanxi" title="Shanxi" {:$r['area']=='Shanxi'?"checked":""} /></label><input type="radio"  name="area" value="Shandong" title="Shandong" {:$r['area']=='Shandong'?"checked":""} /></label><input type="radio"  name="area" value="Jiangsu" title="Jiangsu" {:$r['area']=='Jiangsu'?"checked":""} /></label><input type="radio"  name="area" value="Shanghai" title="Shanghai" {:$r['area']=='Shanghai'?"checked":""} /></label><input type="radio"  name="area" value="Zhejiang" title="Zhejiang" {:$r['area']=='Zhejiang'?"checked":""} /></label><input type="radio"  name="area" value="Anhui" title="Anhui" {:$r['area']=='Anhui'?"checked":""} /></label><input type="radio"  name="area" value="Shaanxi" title="Shaanxi" {:$r['area']=='Shaanxi'?"checked":""} /></label><input type="radio"  name="area" value="Gansu" title="Gansu" {:$r['area']=='Gansu'?"checked":""} /></label><input type="radio"  name="area" value="Hubei" title="Hubei" {:$r['area']=='Hubei'?"checked":""} /></label><input type="radio"  name="area" value="Chongqing" title="Chongqing" {:$r['area']=='Chongqing'?"checked":""} /></label><input type="radio"  name="area" value="Hunan" title="Hunan" {:$r['area']=='Hunan'?"checked":""} /></label><input type="radio"  name="area" value="Jiangxi" title="Jiangxi" {:$r['area']=='Jiangxi'?"checked":""} /></label><input type="radio"  name="area" value="Fujian" title="Fujian" {:$r['area']=='Fujian'?"checked":""} /></label><input type="radio"  name="area" value="Guizhou" title="Guizhou" {:$r['area']=='Guizhou'?"checked":""} /></label><input type="radio"  name="area" value="Yunnan" title="Yunnan" {:$r['area']=='Yunnan'?"checked":""} /></label><input type="radio"  name="area" value="Guangxi" title="Guangxi" {:$r['area']=='Guangxi'?"checked":""} /></label><input type="radio"  name="area" value="Sichuan" title="Sichuan" {:$r['area']=='Sichuan'?"checked":""} /></label><input type="radio"  name="area" value="Taiwan" title="Taiwan" {:$r['area']=='Taiwan'?"checked":""} /></label><input type="radio"  name="area" value="Guangdong" title="Guangdong" {:$r['area']=='Guangdong'?"checked":""} /></label><input type="radio"  name="area" value="Henan" title="Henan" {:$r['area']=='Henan'?"checked":""} /></label><input type="radio"  name="area" value="Neimenggu" title="Neimenggu" {:$r['area']=='Neimenggu'?"checked":""} /></label><input type="radio"  name="area" value="ningxia" title="ningxia" {:$r['area']=='ningxia'?"checked":""} /></label><input type="radio"  name="area" value="Qinghai" title="Qinghai" {:$r['area']=='Qinghai'?"checked":""} /></label><input type="radio"  name="area" value="Xizang" title="Xizang" {:$r['area']=='Xizang'?"checked":""} /></label><input type="radio"  name="area" value="Hainan" title="Hainan" {:$r['area']=='Hainan'?"checked":""} /></label><input type="radio"  name="area" value="Xianggang" title="Xianggang" {:$r['area']=='Xianggang'?"checked":""} /></label><input type="radio"  name="area" value="Aomen" title="Aomen" {:$r['area']=='Aomen'?"checked":""} /></label><input type="radio"  name="area" value="Other" title="Other" {:$r['area']=='Other'?"checked":""} /></label>
	  </div>
  </div>
</div>
<div class="layui-form-item">
  <label class="layui-form-label">城市<span></span></label>
  <div class="layui-input-inline">
	<input type="text"  placeholder="" name="city" id="info_city" class="layui-input modelform_city" value="{$r?$r['city']:''}" style="" autocomplete="off">
  </div>
</div>	